GET
/
v1
/
system
/
userRoles
/
{type}
/
{id}
Get one User Role
curl --request GET \
  --url https://{client_id}.shipstream.app/api/global/v1/system/userRoles/{type}/{id}
{
  "resource": {
    "type": "OrganizationUserRole",
    "id": 3,
    "name": "Administrators",
    "permissions": [
      "warehouse",
      "warehouse/staff",
      "warehouse/staff/time_entry_log",
      "warehouse/staff/time_management",
      "warehouse/staff/time_management/excluded",
      "warehouse/staff/time_management/status_dashboard"
    ]
  }
}

Path Parameters

type
enum<string>
required

Specify the user type to which your operations will be restricted.

Available options:
any,
organization,
client
id
integer
required

The id of the referenced UserRole.

Required range: x >= 1

Response

200
application/json

OK

The response is of type object.